package cn.edu.lcu.cs.ssm.entity;

import java.time.Instant;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {
	private Long id;
	private String number;
	private Double totalPrice;
	private Instant orderTime; // 下单时间
	private Instant paymentTime; // 支付时间
	
	private Customer customer;
	private List<Product> products;
}
